<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>倒计时时钟</title>
</head>
	<style type="text/css">
		.canvas {
			margin: 50px auto;
			border: 1px solid #393939;
			display: block;
		}
	
	</style>
<body>
	<canvas class="canvas" id="canvas">
		当前浏览器不支持Canvas，请更换浏览器再试。
	</canvas>
</body>
	<script src="index.js" type="text/javascript"></script>
	<script src="digit.js" type="text/javascript"></script>
	<script type="text/javascript">
	window.onload = function(){
		//	countDown.showTriangle();
		//	countDown.showCircular(); 
		setInterval(
			function(){
				countDown.render();
				countDown.update();
			},
			50
		)
	}

	</script>
</html>
